<template>
	<!-- <video src="https://qz.qzqxw.com/openUrl/D5TyyJi/live.m3u8" style="width: 750rpx" /> -->
	<!-- <button @click="share">截图</button> -->
	<view class="app-box flex-cc" :style="{ height: appHeight + 'px' }">
		<u-empty text="开发中" mode="list"></u-empty>

		<web-view src="https://tool.ip138.com/useragent/"> </web-view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				appHeight: 0
			}
		},
		async mounted() {
			this.appHeight = await this.$getHeight()
		},
		computed: {},
		methods: {
			async share() {
				let base64 = await this.$share('#view-app')
				console.info(`base64:`, base64)
				uni.navigateTo({
					url: '/pages/other/share?data=' + encodeURIComponent(base64)
				})
			}
		}
	}
</script>

<style lang="scss" scoped></style>
